package org.myspringframework.springboot001.service.impl;

import jakarta.annotation.Resource;
import org.myspringframework.springboot001.bean.User;
import org.myspringframework.springboot001.mapper.UserMapper;
import org.myspringframework.springboot001.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @author fzy
 * @version 1.0
 * 创建时间：       2024-09-23 18:59
 */

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public User selectById(Integer id) {
        return userMapper.selectById(id);
    }
}
